/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.gui.dao;

import br.gui.cliente.Hospede;

/**
 *
 * @author Monique
 */
public class DAOHospede extends DAOMaster {
 
        public DAOHospede() {
            super();
	}
       
	public Hospede findByCpf(String cpf) {
		for (Hospede hosp : findAll(cpf)) {
			if(hosp.getCPF().equals(cpf))
				return hosp;
		}
		
		return null;
	}

    private Iterable<Hospede> findAll(String CPF) {
        throw new UnsupportedOperationException("Not yet implemented");
    }

    
}
